package com.bbyb.operating.examination.mapper;

import com.bbyb.operating.examination.model.po.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {
    int deleteByPrimaryKey(@Param("id") Integer id);

    int insert(Role row);

    int updateByPrimaryKey(Role role);

    List<Role> selectAll();

    Role selectByPrimaryKey(@Param("id") Integer id);
}
